package com.mar.bt.server;

import net.java.dev.marge.factory.RFCOMMCommunicationFactory;

import com.mar.bt.server.impl.L2CAPBluetoothServer;
import com.mar.bt.server.impl.RFCOMMBluetoothServer;

public class BTServerFactory {
	public static final String RFCOMM_BT_SERVER = "bt.rfcomm.server";

	private static final BTServerFactory instance = new BTServerFactory();
	private BTServerFactory(){}
	
	public static BTServerFactory getInstance(){ return instance; }


	public IBluetoothServer createServer(){
		return new RFCOMMBluetoothServer()/*new L2CAPBluetoothServer()*/;
	}
	
}
